<template>
  <view class="colorB">
    <view class="" style="margin: 80rpx 0 39rpx 37rpx;font-size: 37rpx;"> {{user.nickName}}
    </view>
    <view class="" style="margin-left: 40rpx; font-size: 25rpx;margin-bottom: 20rpx;">{{user.phone}}</view>
    <!-- <view class="" style="margin:54rpx 0 26rpx 37rpx;font-size: 24rpx;">修改密码 >>></view> -->
    <view class="gradient" />
    <view class="" style="padding: 72rpx 53rpx 72rpx 72rpx;">
      <view class="flex justify-between">
        <navigator hover-class="none" url="/adminList/orderManagement/orderManagement" class="mainColor  admin-br">订单管理
        </navigator>
        <navigator hover-class="none" url="/adminList/templateManagement/templateManagement"
          class="mainColor  admin-br">运营管理</navigator>
      </view>
      <view class="flex justify-between">
        <navigator hover-class="none" url="/adminList/operator/operator" class="mainColor  admin-br">
          运营商管理</navigator>
        <navigator hover-class="none" url="/adminList/membership/membership" class="mainColor  admin-br">客户管理
        </navigator>
      </view>
      <view class="flex justify-between">
        <!--  <navigator hover-class="none" url="/adminList/userManagement/userManagement" class="mainColor  admin-br">
          系统管理</navigator> -->
        <navigator hover-class="none" url="/adminList/accountSubscription/accountSubscription"
          class="mainColor  admin-br">账户认证</navigator>
      </view>
    </view>
    <navigator url="/pages/login" hover-class="none" style="padding: 0 36rpx 31rpx 36rpx;">
      <view class="mainColor  border-10" style="text-align: center;line-height: 100rpx;">退出登录</view>
    </navigator>
  </view>
</template>

<script>
  import {
    getUserProfile
  } from "@/api/system/user";
  export default {

    data() {
      return {
        user: {},

      };
    },
    onLoad() {
      this.getUser()
    },
    methods: {
      getUser() {
        getUserProfile().then(res => {
          this.user = res.data;
          // this.roleGroup = response.roleGroup;
          // this.postGroup = response.postGroup;
        });
      }
    }
  }
</script>

<style lang="scss" scoped>
  .admin-br {
    width: 273rpx;
    height: 273rpx;
    border-radius: 50%;
    text-align: center;
    line-height: 273rpx;
    margin-bottom: 73rpx;
  }
</style>